<span class="linkable_essence_tools">
  <%= link_to(
    render_icon(:link),
    '#',
    onclick: 'new Alchemy.LinkDialog(this).open(); return false;',
    class: "icon_button#{content.linked? ? ' linked' : ''} link-essence",
    'data-content-id' => content.id,
    title: Alchemy.t(:place_link),
    id: "edit_link_#{content.id}"
  ) %>
  <%= link_to(
    render_icon(:unlink),
    '#',
    onclick: "return Alchemy.LinkDialog.removeLink(this, #{content.id})",
    class: "icon_button unlink-essence #{content.linked? ? 'linked' : 'disabled'}",
    'data-content-id' => content.id,
    title: Alchemy.t(:unlink)
  ) %>
</span>
